package com.bush.mall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.bush.mall.common.entity.Result;;
import com.bush.mall.ware.entity.WareInfoEntity;

/**
 * 仓库信息
 * @author RUN
 * @date 2022-11-29
 */
public interface WareInfoService extends IService<WareInfoEntity> {

    public static final String BEAN_ID = "mall.wareInfoService";

    /**
     * 分页查询仓库信息列表
     * @author RUN
     * @date 2022-11-29
     */
     Result queryForPage(Integer current,Integer size);


    /**
     * 创建仓库信息表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result saveWareInfo(WareInfoEntity wareInfo);


    /**
     * 修改仓库信息表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result updateWareInfo(WareInfoEntity wareInfo);

    /**
     * 删除指定ID的仓库信息
     * @author RUN
     * @date 2022-11-29
     */
     Result deleteWareInfo(Long id);

}

